package org.example.myleet.p989;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{1,2,3,4}, solution.addToArrayForm(new int[]{1,2,0,0}, 34)));
        Assert.isTrue(Assert.isPass(new int[]{3,4}, solution.addToArrayForm(new int[]{0}, 34)));
        Assert.isTrue(Assert.isPass(new int[]{9}, solution.addToArrayForm(new int[]{0}, 9)));
        Assert.isTrue(Assert.isPass(new int[]{3,5,7,9}, solution.addToArrayForm(new int[]{1,2,3}, 3456)));
        Assert.isTrue(Assert.isPass(new int[]{1,0,9,9,8}, solution.addToArrayForm(new int[]{9,9,9}, 9999)));
        Assert.isTrue(Assert.isPass(new int[]{0}, solution.addToArrayForm(new int[]{0}, 0)));
    }
}
